package com.jingdianjichi.practice.server.mapper;

import com.jingdianjichi.practice.server.entity.dto.PracticeSetDTO;
import com.jingdianjichi.practice.server.entity.po.PracticeSetPO;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.PropertySource;

import java.util.List;

/**
 * ClassName:PracticeSetDao
 * Package:com.jingdianjichi.practice.server.mapper
 * Description:
 *
 * @Author fst
 * @Create 2025/1/18 13:53
 * @Version 1.0
 */
public interface PracticeSetDao
{

    void add(PracticeSetPO practiceSetPO);

    PracticeSetPO selectById(Long setId);

    void updateHeat(Long setId);

    Integer getListCount(PracticeSetDTO dto);

    List<PracticeSetPO> getSetList(@Param("dto") PracticeSetDTO dto,@Param("start") int start,@Param("pageSize") Integer pageSize);
}
